<?php
class Role extends PippoaclAppModel {

	var $name   = 'Role';    
    var $hasMany = array('User' => array('className' => 'User',
								'foreignKey' => 'role_id',
								'conditions' => '',
								'fields' => '',
								'order' => '',
								'counterCache' => '')
                        );
                        
    var $validate = array('name' => array('rule' => 'isUnique', 'message' => 'already exist'));
    
    var $actsAs = array('Acl' => 'requester');
    
    function parentNode()
    {
        return null;
    }
}
?>